// TaskExecutor.cpp
#include "TaskExecutor.h"

TaskExecutor::TaskExecutor(size_t numThreads)
    : pool(std::make_unique<ThreadPool>(numThreads)) {}

TaskExecutor::~TaskExecutor()
{
    pool.reset();
}
